PROP_MODEL and PROP_EXPANDER_COLUMN can be NULL, so don't do a object case
authorManish Singh <yosh@gimp.org>
Sun, 21 Oct 2001 01:18:42 +0000 (01:18 +0000)
committerManish Singh <yosh@src.gnome.org>
Sun, 21 Oct 2001 01:18:42 +0000 (01:18 +0000)
Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
        PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
        for those

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreeview.c

index c1147775a196405f7839968be8ce2724978b995c..577e0b351550cd3481d8656e1a93159b3f6e7abd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
+       PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
+       for those
+
 Sat Oct 20 19:38:16 2001  Owen Taylor  <otaylor@redhat.com>
 
        * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_*
index c1147775a196405f7839968be8ce2724978b995c..577e0b351550cd3481d8656e1a93159b3f6e7abd 100644 (file)
@@ -1,3 +1,9 @@
+Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
+       PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
+       for those
+
 Sat Oct 20 19:38:16 2001  Owen Taylor  <otaylor@redhat.com>
 
        * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_*
index c1147775a196405f7839968be8ce2724978b995c..577e0b351550cd3481d8656e1a93159b3f6e7abd 100644 (file)
@@ -1,3 +1,9 @@
+Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
+       PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
+       for those
+
 Sat Oct 20 19:38:16 2001  Owen Taylor  <otaylor@redhat.com>
 
        * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_*
index c1147775a196405f7839968be8ce2724978b995c..577e0b351550cd3481d8656e1a93159b3f6e7abd 100644 (file)
@@ -1,3 +1,9 @@
+Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
+       PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
+       for those
+
 Sat Oct 20 19:38:16 2001  Owen Taylor  <otaylor@redhat.com>
 
        * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_*
index c1147775a196405f7839968be8ce2724978b995c..577e0b351550cd3481d8656e1a93159b3f6e7abd 100644 (file)
@@ -1,3 +1,9 @@
+Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
+       PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
+       for those
+
 Sat Oct 20 19:38:16 2001  Owen Taylor  <otaylor@redhat.com>
 
        * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_*
index c1147775a196405f7839968be8ce2724978b995c..577e0b351550cd3481d8656e1a93159b3f6e7abd 100644 (file)
@@ -1,3 +1,9 @@
+Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
+       PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
+       for those
+
 Sat Oct 20 19:38:16 2001  Owen Taylor  <otaylor@redhat.com>
 
        * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_*
index c1147775a196405f7839968be8ce2724978b995c..577e0b351550cd3481d8656e1a93159b3f6e7abd 100644 (file)
@@ -1,3 +1,9 @@
+Sat Oct 20 18:16:04 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreeview.c (gtk_treeview_get_property): PROP_MODEL and
+       PROP_EXPANDER_COLUMN can be NULL, so don't do a object case check
+       for those
+
 Sat Oct 20 19:38:16 2001  Owen Taylor  <otaylor@redhat.com>
 
        * demos/*.c demos/gdk-pixbuf/*.c: Eliminate gtk_signal_*
index 2f15d300ec4c9ac9d102ad620a867568e0bc0922..7add0e79fc043a266f18bca0c38426e8406bc030 100644 (file)
@@ -1,7 +1,7 @@
 /* gtktreeview.c
  * Copyright (C) 2000  Red Hat, Inc.,  Jonathan Blandford <jrb@redhat.com>
  *
- This library is free software; you can redistribute it and/or
This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
@@ -945,7 +945,7 @@ gtk_tree_view_get_property (GObject         *object,
   switch (prop_id)
     {
     case PROP_MODEL:
-      g_value_set_object (value, G_OBJECT (tree_view->priv->model));
+      g_value_set_object (value, tree_view->priv->model);
       break;
     case PROP_HADJUSTMENT:
       g_value_set_object (value, G_OBJECT (tree_view->priv->hadjustment));
@@ -957,7 +957,7 @@ gtk_tree_view_get_property (GObject         *object,
       g_value_set_boolean (value, gtk_tree_view_get_headers_visible (tree_view));
       break;
     case PROP_EXPANDER_COLUMN:
-      g_value_set_object (value, G_OBJECT (tree_view->priv->expander_column));
+      g_value_set_object (value, tree_view->priv->expander_column);
       break;
     case PROP_REORDERABLE:
       g_value_set_boolean (value, tree_view->priv->reorderable);